package com.tfjybj.itoo.exam.provider.service;

import com.dmsdbj.itoo.tool.base.service.BaseServicePlus;
import com.dmsdbj.itoo.tool.business.ItooResult;
import com.tfjybj.itoo.exam.entity.StudentTeachClassEntity;
import com.tfjybj.itoo.exam.model.StudentTeachClassModel;

import java.util.List;
import java.util.Map;


/**
 * StudentTeachClassService接口
 * studentTeachClass表
 *
 * @author 郭满亮
 * @version 2.0.0
 * @since 2.0.0 2019-01-29 15:52:00
 */
public interface StudentTeachClassService extends BaseServicePlus<StudentTeachClassEntity> {

    ItooResult savePractice(String examName, String teachClassId, String templateId);
    /**
     * 给上课班添加学生
     *
     * @param studentCode 学生学号
     * @param teachClassId 上课班Id
     * @param operator 操作员
     * @return 添加结果
     * @author 郭满亮
     * @since  2019年2月28日10:12:07
     */
    ItooResult createStudent(String studentCode, String teachClassId, String operator);
    /**
     * 从上课班删除学生
     *
     * @param studentId 学生id
     * @param teachClassId 上课班Id
     * @return 删除结果
     */
    ItooResult updataTeachClassStudent(String studentId, String teachClassId);

    List<StudentTeachClassModel> selectStudentByteachclassID(Map param);
}
